import junit.framework.TestCase;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;


public class Admela extends TestCase {
	private WebDriver driver;
	private String url;
	
	@Before
	
	public void setUp() throws Exception{
		driver = new FirefoxDriver();
		url = "http://www.ad-mela.com";
		
		mymssage("driver and url have been declared");
		mymssage("this text is before");
		}

	@Test
	public void test() {
		int a;
		int b;
		int total;
		a = 5; b=9;
		total = a+b;
		System.out.println(total);
		//fail("Not yet implemented");
		driver.get(url);
	}
	@After
	public void tearDown() throws Exception {
		driver.quit();
		mymssage("this text is after");
	   }
	public void mymssage(String writeMsg){
	   System.out.println(writeMsg);
	   
	}
	
}
